package com.ufox.service.impl;

import com.ufox.entity.Cities;
import com.ufox.mapper.CitiesMapper;
import com.ufox.service.ICitiesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 优狐科技-www.hbufox.com
 * @since 2022-06-09
 */
@Service
public class CitiesServiceImpl extends ServiceImpl<CitiesMapper, Cities> implements ICitiesService {

    @Autowired
    private CitiesMapper citiesMapper;

    @Override
    public List<Cities> findById(Integer id) {
        return citiesMapper.findById(id);
    }
}
